<!DOCTYPE html>
<html>

<head>
  <title>Test JS Error</title>
</head>

<body>
  <h1>This page intentionally throws a JS error</h1>
  <script>
    // This will throw an unhandled error
    nonExistentFunction();
  </script>
</body>

</html>